<?php
    // set language to en
    BaseZF::setCurrentLanguage('fr_FR');
?>

<a href="<?php echo $this->url(array('action' => 'index'), 'example_action'); ?>"><?php echo BaseZF::escape(_('Back to example index')); ?></a>

<h2><?php echo BaseZF::escape(_('Translate')); ?></h2>


<h3><?php echo BaseZF::escape(_('Current language:') . ' fr_FR'); ?></h3>
<p>
    <?php echo BaseZF::escape(_('Apple')); ?>
</p>

<?php
    // set language to en
    BaseZF::setCurrentLanguage('en_EN');
?>
<h3><?php echo BaseZF::escape(_('Current language:') . ' en_EN'); ?></h3>
<p>
    <?php echo BaseZF::escape(_('Apple')); ?>
</p>

